<template>
  <div class="works">
    <mine-title>作品集</mine-title>
    <div class="works-box">
      <div id="workShow">
        <div>
          <!-- <span class="my-yl"></span>  -->
          <a
            href="http://wang-shuai-ming.gitee.io/xiaomi-official-website-static"
            target="_BLANK"
            > <img src="../../assets/img/works/w01.png" alt="图片加载失败"
          /> </a>
          <p>小米商城</p>
          <p>
            <a
              target="_BLANK"
              href="https://gitee.com/wang-shuai-ming/xiaomi-official-website-static.git"
              >源码下载 <span class="el-icon-download"></span></a
            >
          </p>
        </div>
        <div>
          <a
            href="http://wang-shuai-ming.gitee.io/myweb360index"
            target="_BLANK"
            ><img src="../../assets/img/works/w02.png" alt="图片加载失败"
          /></a>
          <p>360下载页</p>
          <p>
            <a
              target="_BLANK"
              href="https://gitee.com/wang-shuai-ming/myweb360index.git"
              >源码下载 <span class="el-icon-download"></span></a
            >
          </p>
        </div>
        <div>
          <a href=" http://wang-shuai-ming.gitee.io/web-51zxw" target="_BLANK"
            ><img src="../../assets/img/works/w03.png" alt="图片加载失败"
          /></a>
          <p>我要自学网</p>
          <p>
            <a
              target="_BLANK"
              href="https://gitee.com/wang-shuai-ming/web-51zxw.git"
              >源码下载 <span class="el-icon-download"></span></a
            >
          </p>
        </div>
        <div>
          <a
            href="http://wang-shuai-ming.gitee.io/weather-information"
            target="_BLANK"
            ><img src="../../assets/img/works/w04.jpg" alt="图片加载失败"
          /></a>
          <p>天气预报</p>
          <p>
            <a
              target="_BLANK"
              href="https://gitee.com/wang-shuai-ming/weather-information.git"
              >源码下载 <span class="el-icon-download"></span></a
            >
          </p>
        </div>
      </div>
      <div id="myBlog">
        <span>csdn博客地址：</span><a href="https://blog.csdn.net/qq_51075057?" target="_BLANK">点击这里</a>
      </div>
    </div>
  </div>
</template>

<script>
import MineTitle from "../mine/Mine-title";

export default {
  name: "Mine-works",
  components: {
    MineTitle,
  },
};
</script>

<style>
.works {
  position: relative;
}
.works-box {
  width: 70vw;
  height: 40vh;
  /* background-color: #000; */
  position: absolute;
  top: 200px;
  margin-left: -35vw;
  left: 50%;
  
}
.works-box #workShow {
  width: 100%;
  height: 100%;
  /* background-color: #ccc; */
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  min-width: 80%;
  min-height: 80%;
}
.works-box #workShow > div {
  width: 24%;
  height: 100%;
  text-align: center;
  color: orange;
  border-radius: 10%;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 5px 5px 3px #ccc;
  transition: height width 500ms;
  /* background-color: #000; */
  /* border: 1px solid red; */
  /* margin: 0 0.5%; */
  
}

.works-box #workShow > div:hover {
 
}
.works-box #workShow div img {
  width: 100%;
  height: 82%;
}

.works-box #workShow div > p {
  color: #000;
}
/* .works-box #workShow div a :hover{
  color: orange;
} */
.works-box #workShow div p a {
  line-height: 30px;
  color: orange;
}
#myBlog{
  width: 50%;
  height: 30%;
  /* background-color: #fff; */
  position: absolute;
  left: 50%;
  margin-left: -25%;
  bottom:-150px;
  text-align:center;
  font-size: 20px;
}
#myBlog a{
  color:orange;
}
</style>